//
//  SimpleDB.h
//  uteped_sdk
//
//  Created by mateng on 2024/2/27.
//

#import <Foundation/Foundation.h>
#import <FMDB/FMDB.h>

NS_ASSUME_NONNULL_BEGIN

@interface SimpleDB : NSObject

@property(nonatomic, strong) FMDatabase *db;

- (id)initWithName:(NSString*)dbName;
- (void)putTable:(NSString*)name table: (NSString*)table;
- (NSString*)getTable:(NSString*)name;
- (BOOL)isTableOK:(NSString *)name;
- (BOOL)open;
- (void)close;

@end

NS_ASSUME_NONNULL_END
